import styled from 'styled-components';

export const LongforItemWrapper = styled.div`
  width: 20%;
  flex-shrink: 0;
  .cover {
    position: relative;
    padding: 8px;

    .info {
      border-radius: 5px;
      overflow: hidden;
      position: relative;
    }
    .cover_img {
      width: 100%;
    }
    .bg_cover {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 60%;
      background-image: linear-gradient(-180deg, rgba(0, 0, 0, 0) 3%, rgb(0, 0, 0) 100%);
    }
    .cover_info {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      color: #fff;

      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      padding: 0 24px 32px;
      .cover_city {
        font-size: 18px;
        font-weight: 600;
      }
      .cover_price {
        font-size: 14px;
        margin-top: 5px;
      }
    }
  }
`;
